<!DOCTYPE html>
<script type="text/javascript" src="../js/jquery.min.js" ></script>
<script type="text/javascript" src="../js/iView.js" ></script>
<link rel="stylesheet" href="../css/iView.css" />
<html>
	<head>
		<meta charset="UTF-8">
		<title>测试</title>
	</head>
	<body>
		 <div id="demo3">
		 	<i-table :columns="" :data="">
		 </div>
	</body>
</html>

<script>
	
	var col = [{a: 1},{b: 2}];
    console.log("*------->", col);	
//	$(function() {
//		var col2 = col;
//		col2.splice(3, 1, {c: 3});
//		console.log("-------", col2);
//		console.log('------>', col);
//	});

    (function(a){
    	  var col2 = col;
    	  col2.splice(3,1,{c: 4});
      console.log("-------", col2);
	  console.log('------>', col);
	  console.log('---', a);
    })('bbbbb');


	//用来在DOM加载完成之后执行一系列预先定义好的函数。
	//$(function(){});=$(document).ready(function(){}); 
	
	var chart2 = Vue({
		el: '#demo3',
		data: {
			self: this,
			columns: [{
				title: '来自',
				   
				}],
		},
		computed: {},
		methods: {},
		created: function() {
			console.log("初始化打印");
		},
	})
	
</script>